package com.bicon.botu.medical.model.dto

import lombok.Data

import java.io.Serializable

/**
 * 自定义食物成分DTO
 *
 * @author 张凡
 * @date 2017/12/18 13:54
 */
@Data
class CustomFoodComponentDTO : Serializable {


    /**
     * 成分名称
     */
    var name: String? = null
        set(name) {
            field = this.name
        }

    /**
     * 数量
     */
    var amount: String? = null
        set(amount) {
            field = this.amount
        }

    /**
     * 单位
     */
    var unit: String? = null
        set(unit) {
            field = this.unit
        }
}